home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / GameKit / Examples / PacMan / PacManGameBrain.h < prev    next >
Text File  |  1995-06-12  |  740b  |  24 lines

  1.  
  2. // This handles a lot of the logic of the game; it has application delegate
  3. // methods to deal with start up and shut down of the application.  It also
  4. // has some window delegate methods that work in conjunction with the game
  5. // window (window with the playing field).  It starts and stops the game,
  6. // odes pausing, makes sure initialization is done properly, moves from
  7. // level to level, and tracks the score along with various bonuses.
  8.  
  9. #import <gamekit/gamekit.h>     // superclass, etc.
  10.  
  11. @interface PacManGameBrain:GameBrain
  12. {
  13.     id    highScoreTable;        // object to handle High Scores
  14.     id  fruitBasket;        // displays fruit for each level
  15. }
  16.  
  17. - nextLevel;
  18. - makeGameInfo;
  19. - appDidInit:sender    ;
  20. - layerWindows;
  21. - windowDidMove:sender;
  22.  
  23. @end
  24.